home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group02b.txt
/
000055_icon-group-sender_Fri Oct 4 07:38:42 2002.msg
< prev
next >
Wrap
Internet Message Format
|
2003-01-02
|
3KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id g94Ecds13221
for icon-group-addresses; Fri, 4 Oct 2002 07:38:39 -0700 (MST)
Message-Id: <200210041438.g94Ecds13221@baskerville.CS.Arizona.EDU>
From: "Shmuel (Seymour J.) Metz" <spamtrap@library.lspace.org.invalid>
X-Newsgroups: comp.lang.icon
Subject: Re: Icon Wish List
Date: Fri, 04 Oct 2002 01:24:49 -0400
Mail-Copies-To: nobody
X-Cise: tanbanso@iinet.net.au
X-CompuServe-Customer: Yes
X-Coriate: admin@interspeed.co.nz
X-Ecrate: tanandtanlawyers.com
X-Punge: Micro$oft
X-Sanguinate: themvsguy@email.com
X-Terminate: SPA(GIS)
X-Tinguish: Mark Griffith <markgriffith@rocketmail.com>
X-Treme: C&C,DWS
X-Newsreader: MR/2 Internet Cruiser Edition for OS/2 v2.31a/31
X-Complaints-To: abuse@supernews.com
To: icon-group@cs.arizona.edu
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
In <ambeg5$4gk5e$1@ID-79573.news.dfncis.de>, on 09/19/2002
at 12:57 PM, "Andrew Hamm" <ahamm@mail.com> said:
>Since Icon is completely free with variable types and call arguments,
>it follows that class members should not be typed,
No. The class is the type.
>and overloaded methods do
>not make sense either
They make perfect sense if you allow subclasses and such.
>one name, one method
Too restrictive, and destroys some of the value of OO programming.
>What about member privacy? With the 1 file, 1 class model, it does
>become possible to add a "private" keyword for class methods,
>members and statics. If marked as private, the member is not visible
>outside the file. However, that does not fit at all with the dynamic
>typing of Icon.
Yes it does. Don't confuse the scope of the name with the lifetime of
the object.
>However,
>that does not fit at all with the dynamic typing of Icon.
It fits in perfectly. All that changes is that there are more possible
types.
>How do you know the type of a particular variable at any one time?
The same way as in any other language with dynamic types.
>To do this "properly" on UNIX, the compiler could probably write to
>a tmp file (not linked into a directory) and then hand the open file
>handles off to a cooperating iconx which can slurp up the icode from
>the tmp file handles and then close them, resulting in their
>deallocation.
Bletch!
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2, Team OS/2, Team PL/I
Any unsolicited commercial junk E-mail will be subject to legal
action. I reserve the right to publicly post or ridicule any
abusive E-mail.
I mangled my E-mail address to foil automated spammers; reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org